<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  User: Ivan wei
  --%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>课程查询系统</title>
    <style>
        tr{
            height: 36px;
            text-align: center;
        }
        input{
            outline: none;
            width: 100%;
            height: 36px;
            text-align: center;
            border: none;
        }
        .sub:hover{background-color: aqua}
        a:link {color: blue; text-decoration:none;}
    </style>
</head>
<body>
<h1 style="text-align: center">广州现代教务系统管理</h1>
<div>
    <%@ include file="/common.jsp" %>
</div>
<h3 style="text-align: center">班级管理</h3>
<div style="display: flex;color: black;align-items: center;justify-content: space-evenly;">

    <a href="/Administrator/courses.do">首页</a>
    <a href="/Administrator/courses.do">返回上一级</a>
</div>
<hr>
<div style="display: flex;flex-direction: column;align-items: center">
    <br><br><br><br>
    <table  style="min-width: 760px;background-color: rgb(235,242,241);height: 45px" border="1">
        <form method="post" action="/Administrator/courses/add/modifyNow.do">
            <tr>
                <td>课程编号：</td><td> <input type="text" name="id" placeholder="Course number" required="required" oninput="value=value.replace(/[^\d]/g,'')"></td>
                <td>课程名称：</td><td> <input type="text" name="name" placeholder="Course name" required="required"></td>
                <td><input class="sub" type="submit" value="添加课程" ></td>
            </tr>
        </form>
    </table>
</div>
</body>
</html>
